# -*- coding: utf-8 -*-
#%%
from agilepipe.process import  Create_groupmask

#%%
source_dirpath = r'/media/root/Elements4/XuanWu_last/CBF_processing/CBF_clear_background_SN_SR_SSM-6_del-subj24'

mnimask_filepath = r'/root/Documents/BrainMask_05_61x73x61.nii'
Create_groupmask([source_dirpath,mnimask_filepath])


#%%

source_dirpath = r'/media/root/Elements4/XuanWu_last/PET_processing/PET_SN_SR'

mnimask_filepath = r'/root/Documents/BrainMask_05_61x73x61.nii'
Create_groupmask([source_dirpath,mnimask_filepath])


#%%


source_dirpath = r'/media/root/Elements4/XuanWu_last/BOLD_processing/Results/fALFF'

mnimask_filepath = r'/root/Documents/BrainMask_05_61x73x61.nii'
Create_groupmask([source_dirpath,mnimask_filepath])


#%%

source_dirpath = r'/media/root/Elements4/XuanWu_last/mask/three_modality_groupmask/T1_SC_SS_GM_SN_SR_LM-0.9_tm_groupmask'

mnimask_filepath = r'/root/Documents/BrainMask_05_61x73x61.nii'
Create_groupmask([source_dirpath,mnimask_filepath])


#%%

